<div data-role="page" id="home">
    <script type="text/javascript">
    $(function() {
        $('a').live('click', function() {
            //$.mobile.pageLoading();
        });
    });
    </script>

    <div id="header">
        <img src="/images/mobile/teg_logo.png" class="logo" />
    </div>
    <div data-role="content">
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <?php foreach ($tbl_structures as $tbl_structure):
                        $link = "/m/landing?article=".$tbl_structure->getFId();
                        $target = "_self";
                        if ($tbl_structure->getExternalLink() == "1") {
                            $link = $tbl_structure->getFLink();
                            $target = "_blank";
                        } else if ($tbl_structure->getExternalLink() == "2") {
                            $link = $tbl_structure->getFLink();
                        }
                    ?>
                    <a href="<?php echo $link ?>" target="<?php echo $target ?>" style="text-decoration: none;" data-ajax="false">
                        <div id="landing_tu_btn">
                            <img src="/uploads/<?php echo $tbl_structure->getFIcon() ?>">
                        </div>
                    </a>
                    <?php endforeach; ?>
                </td>
            </tr>
        </table>
        <br>
        <br>
    </div>
    <div id="footer" style="bottom: 0px">
        <div style="padding-top:14px">
            <span class="footer_text" style="color: #FFFFFF; font-family: Arial,Helvetica,sans-serif;font-size: 12px; font-weight: normal; text-shadow: 0 0px 0 #FFFFFF; text-decoration: none;">All Rights Reserved © 2012 Taylor's Education Group.</span>
        </div>
    </div>
</div>